package com.hckjsec.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 发文对象 sys_dispatch
 * 
 * @author cyt
 * @date 2021-10-11
 */
public class SysDispatch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 发文ID */
    private Long dispatchId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 通知机构 */
    @Excel(name = "通知机构")
    private Long organization;

    /** 文件编号 */
    @Excel(name = "文件编号")
    private String documentNumber;

    /** 文件类型 */
    @Excel(name = "文件类型")
    private String documentType;

    /** 文件份数 */
    @Excel(name = "文件份数")
    private String documentShare;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 文件密级 */
    @Excel(name = "文件密级")
    private String documentLevel;

    /** 紧急程度 */
    @Excel(name = "紧急程度")
    private String documentDegree;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 附件 */
    @Excel(name = "附件")
    private String enclosurepath;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long operator;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatortime;

    public void setDispatchId(Long dispatchId)
    {
        this.dispatchId = dispatchId;
    }

    public Long getDispatchId()
    {
        return dispatchId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setOrganization(Long organization)
    {
        this.organization = organization;
    }

    public Long getOrganization()
    {
        return organization;
    }
    public void setDocumentNumber(String documentNumber)
    {
        this.documentNumber = documentNumber;
    }

    public String getDocumentNumber()
    {
        return documentNumber;
    }
    public void setDocumentType(String documentType)
    {
        this.documentType = documentType;
    }

    public String getDocumentType()
    {
        return documentType;
    }
    public void setDocumentShare(String documentShare)
    {
        this.documentShare = documentShare;
    }

    public String getDocumentShare()
    {
        return documentShare;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setDocumentLevel(String documentLevel)
    {
        this.documentLevel = documentLevel;
    }

    public String getDocumentLevel()
    {
        return documentLevel;
    }
    public void setDocumentDegree(String documentDegree)
    {
        this.documentDegree = documentDegree;
    }

    public String getDocumentDegree()
    {
        return documentDegree;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setEnclosurepath(String enclosurepath)
    {
        this.enclosurepath = enclosurepath;
    }

    public String getEnclosurepath()
    {
        return enclosurepath;
    }
    public void setOperator(Long operator)
    {
        this.operator = operator;
    }

    public Long getOperator()
    {
        return operator;
    }
    public void setOperatortime(Date operatortime)
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime()
    {
        return operatortime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("dispatchId", getDispatchId())
                .append("deptId", getDeptId())
                .append("organization", getOrganization())
                .append("documentNumber", getDocumentNumber())
                .append("documentType", getDocumentType())
                .append("documentShare", getDocumentShare())
                .append("title", getTitle())
                .append("documentLevel", getDocumentLevel())
                .append("documentDegree", getDocumentDegree())
                .append("content", getContent())
                .append("enclosurepath", getEnclosurepath())
                .append("operator", getOperator())
                .append("operatortime", getOperatortime())
                .toString();
    }
}
